package com.xl.studentpass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl.studentpass.entity.TaskInfoEntity;
import com.xl.studentpass.entity.UserEntity;
import com.xl.studentpass.entity.po.OrderOverViewPo;
import com.xl.studentpass.entity.po.UserDetailPo;
import com.xl.studentpass.entity.vo.UserVo;
import com.xl.studentpass.utils.R;

import java.util.List;

/**
 * @author: xl
 * @createTime: 2023/5/28 14:14:25
 * @program: student-pass
 * @e-mail: 2199396150@qq.com
 * @description:
 */
public interface UserService extends IService<UserEntity>{
    R update(UserVo user);

    List<TaskInfoEntity> getTaskByStatus(Integer userId, Integer statusId);

    R updatePictureById(Integer userId, List<String> urls);

    List<OrderOverViewPo> getOrderByStatus(Integer userId, Integer statusId);

    UserDetailPo getUserDetail();

    R getPostingInfosByFavorite(Integer userId);

    R getPostingInfosByLike(Integer userId);

    R getPostingInfosByComment(Integer userId);
}
